package com.xiaoyu.client.model.mine;

import java.io.Serializable;
import java.util.List;

public class AddressBean implements Serializable {


    /**
     * code : y200
     * message : 成功
     * data : [{"addressid":"1","provinces":"天津市","city":"天津市","county":"南开区","detail":"红旗南路奕聪花园9号楼2702","userid":"1","state":"1","receiver":"张三","tel":"15000000000","detailed":"天津市天津市南开区红旗南路奕聪花园9号楼2702"},{"addressid":"2","provinces":"天津市","city":"天津市","county":"南开区","detail":"红旗南路奕聪花园9号楼2702","userid":"1","state":"0","receiver":"张三","tel":"15000000000","detailed":"天津市天津市南开区红旗南路奕聪花园9号楼2702"}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * addressid : 1
         * provinces : 天津市
         * city : 天津市
         * county : 南开区
         * detail : 红旗南路奕聪花园9号楼2702
         * userid : 1
         * state : 1
         * receiver : 张三
         * tel : 15000000000
         * detailed : 天津市天津市南开区红旗南路奕聪花园9号楼2702
         */

        private String addressid;
        private String provinces;
        private String city;
        private String county;
        private String detail;
        private String userid;
        private String state;
        private String receiver;
        private String tel;
        private String detailed;

        public String getAddressid() {
            return addressid;
        }

        public void setAddressid(String addressid) {
            this.addressid = addressid;
        }

        public String getProvinces() {
            return provinces;
        }

        public void setProvinces(String provinces) {
            this.provinces = provinces;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCounty() {
            return county;
        }

        public void setCounty(String county) {
            this.county = county;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getReceiver() {
            return receiver;
        }

        public void setReceiver(String receiver) {
            this.receiver = receiver;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public String getDetailed() {
            return detailed;
        }

        public void setDetailed(String detailed) {
            this.detailed = detailed;
        }

        /**
         * usercouponsid : 1
         * usercouponsstate : 1
         * userid : 1
         * couponsmoney : 1.00
         * couponsname : 优惠券名称
         * couponsachieve : 100
         */

        private String usercouponsid;//优惠券id
        private String usercouponsstate;//使用状态
        private String couponsmoney;//优惠价格
        private String couponsname;//优惠券名称
        private String couponsachieve;//使用要求

        public String getUsercouponsid() {
            return usercouponsid;
        }

        public void setUsercouponsid(String usercouponsid) {
            this.usercouponsid = usercouponsid;
        }

        public String getUsercouponsstate() {
            return usercouponsstate;
        }

        public void setUsercouponsstate(String usercouponsstate) {
            this.usercouponsstate = usercouponsstate;
        }

        public String getCouponsmoney() {
            return couponsmoney;
        }

        public void setCouponsmoney(String couponsmoney) {
            this.couponsmoney = couponsmoney;
        }

        public String getCouponsname() {
            return couponsname;
        }

        public void setCouponsname(String couponsname) {
            this.couponsname = couponsname;
        }

        public String getCouponsachieve() {
            return couponsachieve;
        }

        public void setCouponsachieve(String couponsachieve) {
            this.couponsachieve = couponsachieve;
        }
    }
}
